package com.exrobot.module.rbt.controller.admin.memberaddress.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 客户地址信息新增/修改 Request VO")
@Data
public class MemberAddressSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13001")
    private Long id;

    @Schema(description = "地址类型（客户、食堂、待命点）")
    private String addressType;

    @Schema(description = "楼栋号")
    private String areaNo;

    @Schema(description = "楼层号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "楼层号不能为空")
    private String floorNo;

    @Schema(description = "门牌号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "门牌号不能为空")
    private String roomNo;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}